package com.fj.netty.rpc.serializer;

/**
 * @author fj
 * @date 2024/1/17 17:25
 */
public interface Serializer {
    <T> byte[] serialize(T obj);
    <T> T deserialize(Class<T> clz,byte[] bytes);
}
